package com.mjh.zhujianju.service.set;

import com.livew.framework.base.model.SysUser;
import com.livew.framework.base.service.BaseService;
import com.livew.framework.exception.XTBusinessException;
import com.livew.framework.page.PagedResult;
import com.mjh.zhujianju.vo.base.SysUserVO;

/**
 * @ClassName AdminService
 * @author wt1293
 * @Date 2018年8月21日 下午2:00:00
 * @version V1.0
 * @Description
 */
public interface AdminService extends BaseService<SysUser>{

	
	/**
     * 保存
     * @param vo
     * @throws XTBusinessException
     */
	void saveInfo(SysUserVO vo) throws XTBusinessException;

	
	/**
	 * 更新
	 * @param vo
	 * @throws XTBusinessException
	 */
	void updateInfo(SysUserVO vo)throws XTBusinessException;


	/**
	 * 查询
	 * @param vo
	 * @throws XTBusinessException
	 */
	SysUserVO getInfo(Long id) throws XTBusinessException;


	/**
	 * 查询
	 * @param vo
	 * @throws XTBusinessException
	 */
	PagedResult<SysUserVO> getVOPage(SysUser eo);
	
	
	SysUser getUserByUsername(String username);
	
}
